import { post } from '@/utils/request'

export const testData = (data) => {
  return post('/api/Ai/exam/Session_id_get')
}


export function sendAiMessage(data) {
  return post('/api/Ai/exam/Session', data)
}


export function getList(data) {
  return post('/api/Ai/exam/detail', data)
}

export function processAudio(data) {
  return post('/api/client/voice-to-text', data)
}